From: Ewan Mellor Date: Thu, 22 Mar 2007 17:04:55 +0000 (+0000) Subject: Match the name change for the QCoW SR. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15277^2~28^2~5 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=657d3fa3dde117fa2bf551861d8dabbb3089d42e;p=xen.git Match the name change for the QCoW SR. Signed-off-by: Ewan Mellor --- diff --git a/tools/libxen/test/test_bindings.c b/tools/libxen/test/test_bindings.c index 92f2d9b6ca..1471814d81 100644 --- a/tools/libxen/test/test_bindings.c +++ b/tools/libxen/test/test_bindings.c @@ -403,7 +403,7 @@ static xen_vm create_new_vm(xen_session *session, bool hvm) * Create a new disk for the new VM. */ xen_sr_set *srs; - if (!xen_sr_get_by_name_label(session, &srs, "Local") || + if (!xen_sr_get_by_name_label(session, &srs, "QCoW") || srs->size < 1) { fprintf(stderr, "SR lookup failed.\n");